package org.obm.cassandra.configuration;

import org.apache.cassandra.server.INodeConfiguration;
import org.apache.cassandra.server.INodeConfigurationFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class NodeConfigurationFactory implements INodeConfigurationFactory {

	private Logger logger = LoggerFactory.getLogger(getClass());

	public NodeConfigurationFactory() {
	}

	@Override
	public INodeConfiguration get() {
		StorageConfiguration sc = new StorageConfiguration();
		NodeConfiguration nc = new NodeConfiguration(sc);
		return nc;
	}

	@Override
	public void init() {
		logger.info("init");
	}

}
